package cn.tedu.property_management_system.entity.VO;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
import com.fasterxml.jackson.annotation.JsonFormat;


import java.io.Serializable;
import java.util.Date;

@ContentRowHeight(15)
public class ComplaintVO implements Serializable {

    @ExcelIgnore
    private Integer id;

    @ExcelProperty(value = "投诉类型")
    @ColumnWidth(20)
    private String comType;

    @JsonFormat(pattern = "yyyy/MM/dd HH:mm:ss",timezone = "GMT+8")
    @ExcelProperty(value = "日期")
    @ColumnWidth(20)
    private Date comDate;

    @ExcelProperty(value = "投诉人")
    private String owerName;

    @ExcelProperty(value = "处理状态")
    private Integer status;

    @ExcelProperty(value = "处理人")
    private String clrName;

    @ExcelProperty(value = "备注")
    @ColumnWidth(30)
    private String remarks;

    @Override
    public String toString() {
        return "ComplaintVO{" +
                "id=" + id +
                ", comType='" + comType + '\'' +
                ", comDate=" + comDate +
                ", owerName='" + owerName + '\'' +
                ", status=" + status +
                ", clrName='" + clrName + '\'' +
                ", remarks='" + remarks + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getComType() {
        return comType;
    }

    public void setComType(String comType) {
        this.comType = comType;
    }

    public Date getComDate() {
        return comDate;
    }

    public void setComDate(Date comDate) {
        this.comDate = comDate;
    }

    public String getOwerName() {
        return owerName;
    }

    public void setOwerName(String owerName) {
        this.owerName = owerName;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getClrName() {
        return clrName;
    }

    public void setClrName(String clrName) {
        this.clrName = clrName;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }
}
